package com.lsk.servicemap.controller;

import com.lsk.internalcommon.DTO.ResponseResult;
import com.lsk.servicemap.service.GaodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 高德地图service服务管理
 */
@RestController
public class GaodeController {
    @Autowired
    private GaodeService gaodeService;

    @PostMapping("/service/add")
    public ResponseResult add(String name){
        return  gaodeService.add(name);
    }
}
